const merge = require('webpack-merge');
const common = require('./webpack.common.js');
// const webpack = require('webpack');
module.exports = merge(common, {
  devtool: 'inline-source-map',
  devServer: {
  	host:'0.0.0.0',
    contentBase: './',
    compress: true,
    port: 9000,
    // clientLogLevel: "none",
    historyApiFallback: true,
    compress: true,
    // hot: true
  },
  // plugins:[
  // 	// 单页面程序才用模块热替换
  //   new webpack.HotModuleReplacementPlugin(),
  // ]
})
